﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PowerManager.Framework.ModleBuilder.Attributes
{
    [AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = false)]
    public sealed class TableAttribute:Attribute
    {
        private String _objectIdentifier;
        private Int32 _column;

        public TableAttribute(String objectIdentifier, Int32 column) {
            _objectIdentifier = objectIdentifier;
            _column = column;
        }

        public String ObjectIdentifier {
            get { return _objectIdentifier; }
            set { _objectIdentifier = value; }
        }

        public Int32 Column {
            get { return _column; }
            set { _column = value; } 
        }
    }
}
